﻿using Basic.HrModel.Holidays;
using Basic.HrRemoteModel.Holidays.Model;

namespace Basic.HrCollect
{
    public interface IHolidaysCollect
    {
        bool Set ( HolidaysAdd data );
        HolidaysDto[] FindHoliday ( DateTime date );
        HolidaysDto[] GetHoliday ( DateTime begin, DateTime end );
        void Sync ( int year, HolidaysAdd[] adds );
        HolidaysInfo[] Gets ( int year, int month );
    }
}